#!/usr/local/bin/ruby
# Copyright (C) 2003-2009 Wang Pengcheng <wpc0000@gmail.com>
# , released under the MIT license
# You may obtain a template of the MIT License at
# http://www.opensource.org/licenses/mit-license.php
$KCODE = 'utf8'

Dir['../report/*.xml'].each do |file|
  data = File.read(file)
  errors = ['Exception','Error']
  errors.each do |e|
    if data.index(e)
      puts file
      break
    end
  end
end
